﻿using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using Timesheet.Domain;

namespace Timesheet.Service
{
    public interface ITeamService
    {
        IList<Team> GetTeams();

        IList<Team> GetOrdersTeams();

        IList<Team> GetOrdersTeams(long prjId);

        IList<Team> GetTeams(long prjId);
        Team GetTeamByUSers(long userID);
        void SimpleUpdate(Team entity);
        bool CheckExist(Team entity);
        Team GetByID(Int64 id);
        void Add(Team entity);
        void Update(Team entity);
        void Delete(Team entity);
        IList<Team> GetRefTeams(long idProject, User user);
    }
}
